{dede:page pagesize="30"/}
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>用户短信管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.current{border:1px solid #dee2e6;padding:6px;background:#FFFEF4;color:#dc3545}
</style>
</head>
<body>
  <form action="member_pm.php" name="form1" method="get">
    <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable table-borderless mt-3 mb-3">
      <tr>
        <td height="36" bgcolor="#f8f8f8">
          <table cellpadding="0" cellspacing="0">
            <tr>
              <td>关键词：</td>
              <td><input name="keyword" type="text" id="keyword" value="{dede:global name='keyword'/}" style="margin-right:10px;width:260px"></td>
              <td>用户：</td>
              <td><input name="username" type="text" id="username" value="{dede:global name='username'/}" style="margin-right:10px;width:260px"></td>
              <td>
                <select name="folder" id="folder" style="width:160px">
                  <option value="inbox">收件箱</option>
                  <option value="outbox">发件箱</option>
                </select>
              </td>
              <td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </form>
  <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable">
    <tr>
      <td height="26" colspan="7" background="../static/web/img/tbg.gif"><span class="current" id="cate_1">短信列表</span> <a href="member_pmall.php">群发短信</a> <a href="member_pmone.php">单独短信</a></td>
    </tr>
    <tr bgcolor="#F8FCF1" height="26">
      <td width="10%" align="center">发送时间</td>
      <td width="20%" align="center">标题</td>
      <td width="5%" align="center">已读</td>
      <td width="10%" align="center">{dede:global name='postuser'/}</td>
      <td width="35%" align="center">内容</td>
      <td width="10%" align="center">文件夹</td>
      <td width="10%" align="center">操作</td>
    </tr>
    {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
    <tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
      <td>{dede:field.sendtime function='GetDateMk(@me)'/}</td>
      <td>{dede:field.subject function='dede_htmlspecialchars(@me)'/}</td>
      <td>{dede:field.hasview function='IsReader(@me)'/}</td>
      <td>{dede:field.floginid/}</td>
      <td>{dede:field.message function='cn_substr(HtmlReplace(@me),60)'/}</td>
      <td>{dede:field.folder function='GetFolders(@me)'/}</td>
      <td><a href="member_pm.php?ID={dede:field.id/}&dopost=del" class="btn btn-success btn-sm">删除</a></td>
    </tr>
    {/dede:datalist}
    <tr>
      <td height="36" bgcolor="f8f8f8" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
    </tr>
  </table>
</body>
</html>